#!/bin/bash

if [ $# -ne 2 ]
then
		echo "Usage: assemble <input.s> <output.dump>"
		exit 1
fi

echo -n "Dumping to $2...  "
java -jar ~cs61c-tk/bin/Mars-3.4.1.jar a db dump .text Binary $2 $1 > /dev/null
echo "Done."

